package org.smile.design.brige;

public class PrototypeShip {
    private CommunicateEquipment communicateEquipment = new CommunicateEquipment("西门子");
    private NavigateEquipment navigateEquipment = new NavigateEquipment("北斗");
    private LightEquipment lightEquipment = new LightEquipment("飞利浦");

    public void communicate(){
        communicateEquipment.communicate();
    }

    public void navigate(){
        navigateEquipment.navigate();
    }

    public void light(){
        lightEquipment.light();
    }

}
